home *** CD-ROM | disk | FTP | other *** search
- Path: lyra.csx.cam.ac.uk!lhkc100
- From: lhkc100@thor.cam.ac.uk (L.H.K. Chan)
- Newsgroups: comp.lang.c,comp.lang.c++
- Subject: Re: [Q] Any utility to attack misuse of comment /* */
- Date: 21 Apr 1996 13:09:34 GMT
- Organization: University of Cambridge, England
- Message-ID: <4ldc2e$ovj@lyra.csx.cam.ac.uk>
- References: <4l32et$bhm@sun.rhbnc.ac.uk> <Dq0txr.3px@iquest.net>
- NNTP-Posting-Host: hammer.thor.cam.ac.uk
-
-
- |> Jim Hu <jim@gl.rhbnc.ac.uk> wrote:
- |> >Ho, there,
- |> >
- |> > I found out gcc and C provided by SGI for irix fail
- |> >to find out bug like this
- |> >
- |> >/*
- |> > statements;
- |> >
- |> >/*
- |> > comments
- |> >*/
- |> >
- |> > other_statements;
- |> >
- |> >
- |> > As you can, */ is missed out in the first case, the compilers
- |> >failed to find out this obvious error. Is there any free utility to
- |> >attack this bug. This bug can easily appear when you comment/uncomment
- |> >frequently.
- |> >
- |> > Please help via email or send me a copy if reply here.
- |> >
- |> >
- |> >Jim
- |> >
- |> >
- |> > My question is, is there any free utility available to attack
- |> >
-
- But if you use some smart editor like emacs with appropriate lisp script which
- colors c++ key words, you will find out this kind of error immediately!
-